*{
    box-sizing: border-box;
    transition: background .2s;
    outline: 0;
}
body{
    background: #213457;
    color: #fff;
}
.container{
    padding: 0 10px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}
h1{
    text-align: center;
}
textarea{
    width: 100%;
}
input,
.task-item,
.task-detail-mask ,
textarea,
button{
    border-radius: 3px;
    padding: 10px;
}
textarea,
input[type=text],input[type=date],
button{
    border: 0;
}
button{
    border: 0;
    display: inline-block;
    cursor: pointer;
    background: #ddd;
}
.add-task input[type=text]{
    float: left;
    width: 84%;
    margin-right: 1%;
}
textarea,
input[type=text],input[type=date]{
   display: block;
   width: 100%;
   background: #ddd;
   box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3)
}
textarea{
    min-height: 100px;
}
input[type=text]:hover,
input[type=text]:focus,
textarea:hover,
textarea:focus,
input[type=date]:focus,
input[type=date]:hover{
    background: #eee;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2)
}
button[type=submit]{
    color: #fff;
    background: #6cd7df;
}

.add-task button[type=submit]{
    
    width: 15%;
}
.add-task button[type=submit]:hover{
    background: #adf3f8;
}
.add-task button[type=submit],.task-item{
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
}
.task-list{
    margin: 8px 0;
}
.task-item{
    padding: 10px;
    background: #fff;
    color: #333;
    margin-bottom: 8px;
    border-radius: 3px;
    
    transition: background .2s;
    cursor: pointer;
}
.task-item:hover{
    
    background: #ddd;
}
.task-detail,.task-detail-mask{
    display: none;
    position: absolute;
}
.task-detail{
    border-radius: 3px 0 0 3px;
    color: #333;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    background: #fff;
    box-shadow: 0 1px 2px 1px rgba(0, 0, 0, .1);
   
}
.task-detail>*,input-item{
   margin: 10px;
}
.task-detail .content{
   
    font-weight: 900;
    cursor: pointer;
}
.task-detail-mask{
    position: fixed;
    top:0;
    bottom: 0;
    right: 0;
    left: 0;
    
    background: rgba(30,30,30,.6);
}
.task-content{
    margin-left: 10px;
}
.action{
    color: #999;
    font-size: 90%;
}
.action:hover{
    color: #333;
    font-size: 90%;
}
.fr{

    float: right;
}